package com.yby.dome10;

/**
 * 小提琴类
 */
public class Violin extends Instrument{
    //重写父类Instrument的makeSound()方法
    public void makeSound(){
        System.out.println("小提琴了发出宛转悠扬的声音");
    }
}
